import  http from './request.js'
const {request, uploadFile} = http

//获取订单列表
export function saveCardAuth(data) {
  return request({
    url: 'auth/saveCardAuth',
    method: "POST",
    data: data.data,
    showModel:true
  })
}
//身份证识别
export function vehicleCard(data) {
  return request({
    url: 'IdCard/vehicleCard',
    method: "POST",
    data: data.data,
    showModel:true
  })
}
//风控
export function getCardAuthentication(data) {
  return request({
    url: 'authTisk/getCardAuthentication',
    method: "POST",
    data: data.data,
    showModel:true
  })
}
// 获取用户信息
export function getUserInfo(data) {
  return request({
    url: 'getUserInfo',
    method: "GET",
    data: data.data
  })
}